HDDS-1689. Implement S3 Create Bucket request to use Cache and DoubleBuffer.#1088
HDDS-1689. Implement S3 Create Bucket request to use Cache and DoubleBuffer.#1088bharatviswa504 merged 10 commits intoapache:trunkfrom
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
...e-manager/src/main/java/org/apache/hadoop/ozone/om/request/volume/OMVolumeCreateRequest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Sorry I still don't see a newline. It's a minor point. See https://unix.stackexchange.com/questions/18743/whats-the-point-in-adding-a-new-line-to-the-end-of-a-file
This is an old habit from using a C++ compiler that would throw errors on files not ending in newlines. 🙂
There was a problem hiding this comment.
Add newline please. I missed this in general, it's good to have files end in newlines.
Perhaps not true these days but historically some tools used to choke on text files that don't end in newline.
There was a problem hiding this comment.
If status is OK then omBucketCreateResponse must be non-null right?
There was a problem hiding this comment.
Yes. But this check is added, because we have fields in constructor annotated as nullable, so find bugs will catch us, to avoid that added this check.
There was a problem hiding this comment.
Instead of that you can add a Preconditions.checkState.
...anager/src/main/java/org/apache/hadoop/ozone/om/request/s3/bucket/S3BucketCreateRequest.java
Outdated
Show resolved
Hide resolved
...anager/src/main/java/org/apache/hadoop/ozone/om/request/s3/bucket/S3BucketCreateRequest.java
Outdated
Show resolved
Hide resolved
...anager/src/main/java/org/apache/hadoop/ozone/om/request/s3/bucket/S3BucketCreateRequest.java
Outdated
Show resolved
Hide resolved
...anager/src/main/java/org/apache/hadoop/ozone/om/request/s3/bucket/S3BucketCreateRequest.java
Outdated
Show resolved
Hide resolved
...anager/src/main/java/org/apache/hadoop/ozone/om/request/s3/bucket/S3BucketCreateRequest.java
Outdated
Show resolved
Hide resolved
arp7
left a comment
There was a problem hiding this comment.
The change looks pretty good overall. A few minor comments/questions.
739ceff to
1365bc5
Compare
|
Thank You @arp7 for the review. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
arp7
left a comment
There was a problem hiding this comment.
Minor comments and one question. No blockers though, +1 to commit it.
d90af43 to
8f5b8d8
Compare
|
Thank You @arp7 for the review. |
|
/retest |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
Test failure is not related to this patch. |
Changing boolean gauges to integer since it is a more widely supported reporter type. prateekm Please take a look Author: Daniel Chen <dchen1@linkedin.com> Reviewers: Prateek Maheshwari <pmaheshwari@apache.org> Closes apache#1088 from dxichen/samza-2259


No description provided.